package com.whp.yky.yky.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.whp.yky.yky.entity.DataLog;
import com.whp.yky.yky.mapper.DataLogMapper;
import com.whp.yky.yky.service.DataLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zwq
 * @since 2021-03-02
 */
@Service
public class DataLogServiceImpl extends ServiceImpl<DataLogMapper, DataLog> implements DataLogService {

    @Autowired
    private DataLogMapper dataLogMapper;

    @Override
    public IPage<DataLog> getDataLogInfo(IPage<DataLog> page, DataLog dataLog) {
        return page.setRecords(dataLogMapper.getDataLogInfo(page,dataLog));
    }
}
